﻿

using IotContract.Dtos.Servers.Process;
using IotContract.Models.Jobs;
using IotContract.Models.Jobs.F29;
using IotContract.Models.Process.F29;
using IotContract.Models.Process.Zd;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Process;
[ProtoContract]
[ProtoInclude(5,typeof(ProcessScData))]
[ProtoInclude(6, typeof(ProcessCvData))]
[ProtoInclude(7, typeof(ScEnterJob))]
[ProtoInclude(8, typeof(ScOutJob))]
[ProtoInclude(9, typeof(ScMoveJob))]
[ProtoInclude(10,typeof(ZdProcessCvData))]
[ProtoInclude(11, typeof(ZdProcessScData))]
[ProtoInclude(12,typeof(F29ProcessRestraintData))]
[ProtoInclude(13,typeof(F29ProcessScData))]
[ProtoInclude(14,typeof(F29EnterJob))]
[ProtoInclude(15, typeof(F29OutJob))]
[ProtoInclude(16, typeof(F29MoveJob))]
[ProtoInclude(17, typeof(F29ProcessCvData))]
[ProtoInclude(18,typeof(F29ProcessData))]
public class ProcessBaseData
{
    
    [ProtoMember(1)]
    public string Num { get; set; }
   
    /// <summary>
    /// 当 Message 为 Skip 时跳过某些验证
    /// 当 Message 为 xxx，进行一些业务判断
    /// </summary>
    [ProtoMember(2)]
    public string Message { get; set; }
    /// <summary>
    /// 是否连接
    /// </summary>
    [ProtoMember(3)]
    public bool Connection { get; set; }
}
